function counter(num){num=z+1;z=num;return z;}